package com.js.basic.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 合同对象 bs_contract
 * 
 * @author lzq
 * @date 20240709
 */
public class BsContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractCode;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractName;

    /** 合同类型 */
    @Excel(name = "合同类型")
    private String contractType;

    /** 支付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal totalMoney;

    /** 合同状态 */
    @Excel(name = "合同状态")
    private String contractStatu;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String bindCode;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private BigDecimal paidMoney;

    /** 密级 */
    @Excel(name = "密级")
    private String privacy;

    /** 合同文件路径 */
    @Excel(name = "合同文件路径")
    private String filePath;

    /** 合同文件名称 */
    @Excel(name = "合同文件名称")
    private String fileName;

    public void setContractCode(String contractCode) 
    {
        this.contractCode = contractCode;
    }

    public String getContractCode() 
    {
        return contractCode;
    }
    public void setContractName(String contractName) 
    {
        this.contractName = contractName;
    }

    public String getContractName() 
    {
        return contractName;
    }
    public void setContractType(String contractType) 
    {
        this.contractType = contractType;
    }

    public String getContractType() 
    {
        return contractType;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setTotalMoney(BigDecimal totalMoney)
    {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney()
    {
        return totalMoney;
    }
    public void setContractStatu(String contractStatu) 
    {
        this.contractStatu = contractStatu;
    }

    public String getContractStatu() 
    {
        return contractStatu;
    }
    public void setBindCode(String bindCode) 
    {
        this.bindCode = bindCode;
    }

    public String getBindCode() 
    {
        return bindCode;
    }
    public void setPaidMoney(BigDecimal paidMoney)
    {
        this.paidMoney = paidMoney;
    }

    public BigDecimal getPaidMoney()
    {
        return paidMoney;
    }
    public void setPrivacy(String privacy) 
    {
        this.privacy = privacy;
    }

    public String getPrivacy() 
    {
        return privacy;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractCode", getContractCode())
            .append("contractName", getContractName())
            .append("contractType", getContractType())
            .append("payTime", getPayTime())
            .append("totalMoney", getTotalMoney())
            .append("remark", getRemark())
            .append("contractStatu", getContractStatu())
            .append("bindCode", getBindCode())
            .append("paidMoney", getPaidMoney())
            .append("privacy", getPrivacy())
            .append("filePath", getFilePath())
            .append("fileName", getFileName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
